package org.glut.cloud.repairRecordManage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.glut.cloud.repairRecordManage.MaintenanceRecordsdto.MaintenanceRecordsdto;
import org.glut.cloud.repairRecordManage.entity.MaintenanceRecords;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *  服务类接口
 *
 * @author qjc
 * @since 2024-08-13 11:45
 */
public interface IMaintenanceRecordsService extends IService<MaintenanceRecords> {

    Page<MaintenanceRecords> querypages(MaintenanceRecordsdto maintenanceRecordsdto);

    void deletes(List<Integer> ids);

    void deleteuser(Integer mainmaintenanceRecordsId);

    void update(MaintenanceRecordsdto maintenanceRecordsdto);

    /**
     * 查询维修记录
     * */
    List<MaintenanceRecords> select_1(Integer userNo,String evaStatus);

    /**
     * 将评价状态（eva_status）改为已评价
     */
    boolean updateStatus(Integer maintenanceRecordsId);
}
